<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:h="http://java.sun.com/jsf/html"
   contentType="text/html">   
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>  
  </head>
  <body>
    <h:outputText value="Benvenuto!!!"></h:outputText>
    
	<p><h:outputLink id="authLink" value="/authenticationServlet" rendered="#{userManager.authLinkRendered }">Accedi</h:outputLink></p>    
    
    <h:form rendered="#{userManager.uploadLinkRendered }">
    	
    	<p><h:commandLink action="upload" value="Carica immagini" rendered="#{userManager.uploadLinkRendered }"></h:commandLink> </p>
    	<p><h:outputLink id="viewImg" value="/image.jsf" rendered="#{!userManager.authLinkRendered }">Visualizza immagini caricate</h:outputLink> </p>
    	
    	
    
    </h:form>
    
    <p><h:outputLink id="signOut" value="/authenticationServlet" rendered="#{!userManager.authLinkRendered }">Esci</h:outputLink> </p>
    
</body>
</html>
</f:view>